﻿using DeviceMaintainGIS.BLL.FaultType;
using DeviceMaintainGIS.Model;
using DeviceMaintainGIS.Model.FaultType;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace DeviceMaintainGIS.Controllers
{
    /// <summary>
    /// 故障
    /// </summary>
    public class FaultTypeController : ApiController
    {
        /// <summary>
        /// 获取故障类型
        /// </summary>
        /// <returns></returns>
        public ReturnListVM<FaultTypeResponse> Get()
        {
            return new FaultTypeService().GetFaultType();
        }
    }
}
